@echo To uninstall: 
@echo   1. Start a command prompt as Administrator.
@echo   2. CD to the folder where this file is stored.
@echo   3. Run this command file. 
@echo   4. Wait for Retract to complete.
@echo   5. Press complete.

@echo The following commands will remove the DocIcon solution

@echo Retract solution
path=%path%;C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\BIN
stsadm -o retractsolution -name wwEsp.docIcon.wsp -immediate

@echo You now need to wait for the Timer job to run...
@echo Press Enter to continue.
pause

@echo Remove solution
stsadm -o deletesolution -name wwEsp.docIcon.wsp

@echo Press Enter to exit
pause